Problem Note 58830: Writing an Oracle table that contains more than 4,294,967,296 rows fails and returns the error "ORA-03148: OCI_ATTR_ROW_COUNT cannot return a row count exceeding UB4MAXVAL"
If you try to create a table with more than 4,294,967,296 rows in an Oracle database, you might receive this error:
Error message: ORA-03148: OCI_ATTR_ROW_COUNT cannot return a row count exceeding UB4MAXVAL.
SAS/ACCESS® Interface to Oracle currently does not support the creation of Oracle tables that contain more than 4,294,967,296 rows. This problem is fixed in SAS® 9.4M6 (TS1M6) and later releases.
Workaround
Complete the following steps to work around this issue:
- Write a SAS data set to multiple Oracle tables, with fewer than 4,294,967,296 rows in each table.
- Use SQL pass-through to merge the tables into one table in the Oracle database.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Oracle | z/OS | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise 32-bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Pro 32-bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8 Pro x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro 32-bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows 10 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2008 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 R2 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2008 for x64 | 9.4_M3 | | 9.4 TS1M3 | |
Microsoft Windows Server 2012 Datacenter | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Std | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Microsoft Windows Server 2012 Std | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Enterprise 32 bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Enterprise x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Home Premium 32 bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Home Premium x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Professional 32 bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Professional x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Ultimate 32 bit | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Windows 7 Ultimate x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled AIX | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled Solaris | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
HP-UX IPF | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Linux for x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
Solaris for x64 | 9.4_M3 | 9.4_M3 | 9.4 TS1M3 | 9.4 TS1M6 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
"Error message: ORA-03148: OCI_ATTR_ROW_COUNT cannot return a row count exceeding UB4MAXVAL" occurs when you attempt to write an Oracle table that exceeds the maximum allowed number of rows.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2016-09-08 12:56:38 |
Date Created: | 2016-08-19 16:35:39 |